set(SOURCE_DIR ${PROJECT_ROOT}/driver/core)
set(HEADER_DIR ${PROJECT_ROOT}/include/driver)

qelib_include_directories(${HEADER_DIR})

qelib_sources(
    ${SOURCE_DIR}/device.c
    ${SOURCE_DIR}/driver.c)

set(DRIVER_INSTALL_HEADERS
    ${HEADER_DIR}/qe_device.h
    ${HEADER_DIR}/qe_driver.h
)

install(FILES ${DRIVER_INSTALL_HEADERS} DESTINATION ${QELIB_INSTALL_PATH}/include/driver)